function fctValidate()
{
	var sPop_id="";
	var sProgram="";
	
	sPop_id = document.getElementById("allf_popid").value;
	sProgram = document.getElementById("allf_program").value;	

	//... Validate selection ...//
	if(sPop_id == "")
	{
	    alert("Please select a population");
		document.getElementById("allf_popid").focus();
		return false;
	}
	if(sProgram == "")
	{
	    alert("Please select a type of data");
		document.getElementById("allf_program").focus();
		return false;
	}
	if(sProgram == "kir2001a")
	{	
		window.location = sProgram + ".asp?allf_popid=" + sPop_id;
	}
	else
	{
		window.location = sProgram + ".asp?genf_popid=" + sPop_id;
	}
	return true;
}
